package com.source.lightfowl.idcardgrantandrecovery.service;

import com.source.lightfowl.VO.IdCardGrantVO;
import com.source.lightfowl.idcardgrantandrecovery.entity.IdCardGrant;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @Author: 谢春泳
 * @Description:
 * @Date: 2020/1/10 14:52
 */
public interface IdCardGrantService {
    //3.3查
    List<IdCardGrantVO> findAll();
    //3.2查 分页
    Page<IdCardGrant> findAllPage(int page, int pageNum);
    //3.1查找根据id查找
    IdCardGrantVO findById(int id);

    //1.增
    void save(IdCardGrant sh);

    //2.1删
    void deleteById(int id);
    //2.2批量删
    void deleteBatch(String ids);
    void update(IdCardGrant sh);

    Long getCount();

}
